package com.zillion.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zillion.common.annotation.Excel;
import com.zillion.common.core.domain.BaseEntity;

/**
 * 法定节假日对象 health_holiday
 * 
 * @author zillion
 * @date 2025-10-09
 */
public class HealthHoliday extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 年份 */
    @Excel(name = "年份")
    private String year;

    /** 节假日名称 */
    @Excel(name = "节假日名称")
    private String holidayName;

    /** 节假日时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "节假日时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date holidayDate;

    /** 是否为节假日 */
    @Excel(name = "是否为节假日")
    private Integer isHoliday;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setYear(String year) 
    {
        this.year = year;
    }

    public String getYear() 
    {
        return year;
    }

    public void setHolidayName(String holidayName) 
    {
        this.holidayName = holidayName;
    }

    public String getHolidayName() 
    {
        return holidayName;
    }

    public void setHolidayDate(Date holidayDate) 
    {
        this.holidayDate = holidayDate;
    }

    public Date getHolidayDate() 
    {
        return holidayDate;
    }

    public void setIsHoliday(Integer isHoliday)
    {
        this.isHoliday = isHoliday;
    }

    public Integer getIsHoliday()
    {
        return isHoliday;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("year", getYear())
            .append("holidayName", getHolidayName())
            .append("holidayDate", getHolidayDate())
            .append("isHoliday", getIsHoliday())
            .toString();
    }
}
